<script setup lang="ts">
import { computed, ref } from 'vue';
// 事件处理和ts
// const handleChange = (event) => {
//   console.log(event.target.value); 
// }

const handleChange = (event: Event) => {
  console.log((event.target as HTMLInputElement).value); 
}
</script>

<template>
  <div class="app-page">
    app
    <input type="text" @change="handleChange">
  </div>
</template>

<style lang="scss" scoped></style>
